package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
@ApiModel(value = "com.qingfeng.client.bean.Gift")
@Data
@TableName(value = "gift")
public class Gift {
    /**
     * 礼物id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "礼物id")
    private Integer id;

    /**
     * 商家id
     */
    @TableField(value = "seller_id")
    @ApiModelProperty(value = "商家id")
    private Long sellerId;

    /**
     * 物品id
     */
    @TableField(value = "goods_id")
    @ApiModelProperty(value = "物品id")
    private Long goodsId;

    /**
     * 礼品价格，默认是0
     */
    @TableField(value = "price")
    @ApiModelProperty(value = "礼品价格，默认是0")
    private Integer price;

    /**
     * 备注
     */
    @TableField(value = "comment")
    @ApiModelProperty(value = "备注")
    private String comment;
}